#$ -S /bin/bash
#$ -l h_vmem=9G
#$ -l tmem=9G
#$ -l h_rt=480:0:0
#$ -cwd
#$ -j y

#Run 28 tasks where each task has a different $SGE_TASK_ID ranging from 1 to 28
#$ -t 1-28


#$ -N qll_years
date
hostname


#Output the Task ID
echo "Task ID is $SGE_TASK_ID"

/share/apps/matlabR2018b/bin/matlab -nodisplay -nodesktop -nojvm -nosplash -r "main; ID = $SGE_TASK_ID; f_s; exit"

